package cn.com.dcsgo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 购物车信息 DTO
 *
 * @author Dcsgo
 * @since 2025/11/17 14:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "购物车信息 DTO")
public class CartInfoDTO {
    /**
     * 购物车ID
     */
    @Schema(description = "购物车ID")
    private Long basketId;

    /**
     * 店铺ID
     */
    @Schema(description = "店铺ID")
    private Long shopId;

    /**
     * 产品ID
     */
    @Schema(description = "产品ID")
    private Long prodId;

    /**
     * SkuID
     */
    @Schema(description = "SkuID")
    private Long skuId;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private String openId;

    /**
     * 商品个数
     */
    @Schema(description = "商品个数")
    private Integer prodCount;

    /**
     * 购物时间
     */
    @Schema(description = "购物时间")
    private Date createTime;
}
